package com.chanzany.memento.improve;

/**
 * @Author ChanZany
 * @Date 2021/10/19 19:20
 * @Version 1.0
 * //原型管理者
 */
public class PrototypeCaretaker {
    private OriginatorPrototype opt;
    public void setMemento(OriginatorPrototype opt){
        this.opt = opt;
    }
    public OriginatorPrototype getMemento(){
        return opt;
    }
}
